package com.googlecode.microanalyst.designer.model;

public enum DiagramType {
	ANALYSIS("analysis", ".ma");

	private String prefix;
	private String extension;
	
	private DiagramType(String prefix, String extension) {
		this.prefix = prefix;
		this.extension = extension;
	}

	public String newFileName(int counter) {
		return prefix + counter + extension;
	}
}
